FROM java:8-jdk
MAINTAINER liaojian.2008.ok@163.com
ENV TZ=Asia/Shanghai
RUN apt-get install tzdata
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY simsun.ttf /usr/share/fonts/simsun.ttf
RUN mkdir -p /jimureport
WORKDIR /jimureport
EXPOSE 8085
ADD jimureport.jar app.jar

CMD java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar app.jar